package com.hue.gulimail.gulimailauth.feign;

import com.hue.common.to.CheckCodeTo;
import com.hue.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 姚凤桥
 * @Date 2021/11/24 17:01
 * @Description: 第三方服务
 */
@FeignClient("gulimail-thire")
public interface ThireFeignService {
    @PostMapping("/gulimailthire/email/sendEmail")
    public R sendEmail(@RequestBody CheckCodeTo checkCodeTo);
}
